package com.example.easybuy.dao;

import com.example.easybuy.pojo.Order;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderDao {

    /*
    查询当前用户订单
     */
    public List<Order> getOrderList(@Param("userId")int userId);

    /*
    删除订单信息
     */
    public int deletOrderdatail(@Param("id")int id);

}
